package com.jdzy.student.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jdzy.model.common.vos.Result;
import com.jdzy.model.student.dtos.CopyrightDeleteDto;
import com.jdzy.model.student.dtos.CopyrightDto;
import com.jdzy.model.student.dtos.CopyrightRearchDto;
import com.jdzy.model.student.pojos.Copyright;

public interface CopyrightService extends IService<Copyright> {

    /**
     * 根据学号获取其著作权
     *
     * @param stuId
     * @param page
     * @param size
     * @param copyrightRearchDto
     * @return
     */
    Result getCopyrightByStuId(String stuId, Integer page, Integer size, CopyrightRearchDto copyrightRearchDto);

    /**
     * 删除著作权信息
     * @param stuId
     * @param copyrightDeleteDto
     * @return
     */
    Result deleteCopyright(String stuId, CopyrightDeleteDto copyrightDeleteDto);

    /**
     * 保存Copyright信息
     * @param copyrightDto
     * @return
     */
    Result saveCopyright(CopyrightDto copyrightDto);

    /**
     * 修改Copyright信息
     * @param copyrightDto
     * @return
     */
    Result updateCopyright(CopyrightDto copyrightDto);
}
